/**
   Frog CMS - Content Management Simplified. <http://www.madebyfrog.com>
   Copyright (C) 2008 Philippe Archambault <philippe.archambault@gmail.com>

   This program is free software: you can redistribute it and/or modify
   it under the terms of the GNU Affero General Public License as
   published by the Free Software Foundation, either version 3 of the
   License, or (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU Affero General Public License for more details.

   You should have received a copy of the GNU Affero General Public License
   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

* {
  margin: 0;
  padding: 0;
}

body {
  font: 12px Arial;
  color: #fff;
  background-color: #000;
  text-align: center;
  line-height: 150%;
}

#dialog h1 {
  margin: -10px -10px 5px;
  padding: 10px 10px 5px;
  background: #123;
  color: #fff;
  font-size: 20px;
  border-bottom: 3px solid #123;
}

#dialog p {
  margin: 8px 0;
}

/* Form ------------------------------------------------------------------- */

#dialog label {
  margin: 3px 0;
  font-size: 90%;
  font-weight: bolder;
  display: block;
}

#dialog input {
  border: 1px solid #ccc;
  padding: 3px;
  font-family: verdana, arial, helvetica, sans-serif;
  font-size: 11px;
  background: white;
  color: black;
}

#dialog input:hover {
  border: 1px solid #6ad;
}

#dialog input.submit {
  margin-top: 10px;
}

/* Construction ----------------------------------------------------------- */

#dialog {
  margin: 100px auto 0 auto;
  background: #fff;
  color: #222;
  border: 3px solid #123;
  padding: 10px;
  width: 332px;
  text-align: left;
  border: 1px solid #fff;
}

/* Login dialog ----------------------------------------------------------- */

#dialog .login_username, #dialog .login_password {
  padding-top: 1px;
}

#dialog .login_username {
  float: left;
  width: 170px;
}

* html #dialog .login_username{
  margin-top: 1px;
}

#dialog .login_password{
  margin-left: 170px;
}

#dialog .login_submit{
  padding-left: 8px;
  font-size: 11px;
}



/* Messages --------------------------------------------------------------- */

#dialog .error, .success {
  margin: -5px -10px 0;
  padding: 10px 20px;
  text-align: left;
}
#dialog .error {
  background: #a22;
  color: #fff;
}
#dialog .success {
  background: #cfc;
  color: #051;
}